package com.messe.base.models;

import java.util.HashSet;
import java.util.Set;

/**
 * 家具
 * Room entity. @author MyEclipse Persistence Tools
 */

public class Furniture implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -771457769996109871L;
	private String id;
	/**对应公司**/
	private Organization organization;
	private Organization organizer;
	/**编号**/
	private String code;
	/**规格*/
	private String spec;
	
	/**面积*/
	private String area;
	
	/***容量*/
	private String capacity;
	
	/**形式*/
	private String modality;
	
	/**删除**/
	private Integer statusId;
	
	/**类型**/
	private Integer type;
	
	/**图片**/
	private String imageUrl;
	/**展会关联**/
	private Set<ExhibitionFurnitureRel> exhibitionFurnitureRels=new HashSet<ExhibitionFurnitureRel>(0);
	/**房型副表**/
	private Set<FurnitureAppendix> furnitureAppendixes = new HashSet<FurnitureAppendix>(0);
	/**展商关联**/
	private Set<ExhibitorFurnitureRel> exhibitorFurnitureRels=new HashSet<ExhibitorFurnitureRel>(0);
	// Constructors
	/** default constructor */
	public Furniture() {
	}

	/** minimal constructor */
	public Furniture(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getCode() {
		return (null != code) ? code : "";
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getSpec() {
		return (null != spec) ? spec : "";
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}
	
	public Organization getOrganizer() {
		return organizer;
	}

	public void setOrganizer(Organization organizer) {
		this.organizer = organizer;
	}

	public Set<ExhibitionFurnitureRel> getExhibitionFurnitureRels() {
		return exhibitionFurnitureRels;
	}

	public void setExhibitionFurnitureRels(Set<ExhibitionFurnitureRel> exhibitionFurnitureRels) {
		this.exhibitionFurnitureRels = exhibitionFurnitureRels;
	}

	public String getImageUrl() {
		return (null != imageUrl) ? imageUrl : "";
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}


	

	public Set<FurnitureAppendix> getFurnitureAppendixes() {
		return furnitureAppendixes;
	}

	public void setFurnitureAppendixes(Set<FurnitureAppendix> furnitureAppendixes) {
		this.furnitureAppendixes = furnitureAppendixes;
	}

	public Set<ExhibitorFurnitureRel> getExhibitorFurnitureRels() {
		return exhibitorFurnitureRels;
	}

	public void setExhibitorFurnitureRels(Set<ExhibitorFurnitureRel> exhibitorFurnitureRels) {
		this.exhibitorFurnitureRels = exhibitorFurnitureRels;
	}

	public String getArea() {
		return (null != area) ? area : "";
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getCapacity() {
		return (null != capacity) ? capacity : "";
	}

	public void setCapacity(String capacity) {
		this.capacity = capacity;
	}

	public String getModality() {
		return (null != modality) ? modality : "";
	}

	public void setModality(String modality) {
		this.modality = modality;
	}

	public Integer getStatusId() {
		return statusId;
	}

	public void setStatusId(Integer statusId) {
		this.statusId = statusId;
	}

	public Integer getType() {
		return (null != type) ? type : 0;
	}

	public void setType(Integer type) {
		this.type = type;
	}



}